package com.project.xy.mapper;

import com.project.xy.entity.DModuleDetails;
import com.project.xy.entity.DesignModule;

import java.util.List;

public interface DesignModuleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DesignModule record);

    int insertSelective(DesignModule record);

    DesignModule selectByPrimaryKey(Integer id);

    DesignModule queryByProductId(String productId);

    int updateByPrimaryKeySelective(DesignModule record);

    int updateByPrimaryKey(DesignModule record);

    List<DesignModule> selectByComposite(String state);

    DesignModule selectDesignByPid(String pid);

    List<DesignModule> selectUpdMateriel();

    List<DesignModule> selectList();

    DesignModule selectByProdId(String id);
}